<!DOCTYPE html>

<html lang="en">

<head>

    {include file="public/meta" /}

    {include file="public/link" /}

</head>

<body data-type="index" class="theme-white">

<div class="am-g tpl-g">

    {include file="public/header" /}

    {include file="public/left" /}

    {include file="public/content_top" /}

    <ol class="am-breadcrumb">

        <li><a href="../home/index.html" class="am-icon-home">首页</a></li>

        <li><a href="#">查询统计</a></li>

        <li class="am-active">员工总报表</li>

    </ol>
    <!-- <div class="am-form-inline" role="form">

            <span>日期范围：</span>

            <div class="am-form-group ">

                <input type="text" class="am-form-field am-input-sm" name="start" placeholder="请选择起始日期"

                       data-am-datepicker onfocus="this.blur()" value="{$arr.start_query}"/>

            </div>

            <div class="am-form-group ">

                <input type="text" class="am-form-field am-input-sm" name="end" placeholder="请选择结束日期" data-am-datepicker

                       onfocus="this.blur()" value="{$arr.end_query}"/>

            </div>

            <button type="button" class="am-btn am-btn-primary am-btn-sm" onclick="info_query()">查询</button>

            <button type="button" class="am-btn am-btn-warning am-btn-sm" onclick="clear_query()">清除查询</button>

        </div> -->
    <hr data-am-widget="divider" class="am-divider am-divider-default"/>
    <div class="widget-body widget-body-lg am-fr">
        <div class="am-scrollable-horizontal">
            <table class="{$table}">
                <thead>
                <tr>
                    <th>姓名</th>
                    <th>手机号</th>
                    <th>代理</th>
                    <th>注册时间</th>
                    <th>累计充值</th>
                    <th>累计提现</th>
                    <th>可用余额</th>
                    <th>配资金额</th>
                    <th>保证金额</th>
                    <th>追加保证金</th>
                    <th>交易金额</th>
                    <th>持仓市值</th>
                    <th>持仓盈亏</th>
                    <th>结算盈亏</th>
                    <th>手续费</th>
                    <th>递延费</th>
                </tr>
                </thead>
                <tbody id="list">
                {volist name="list" id="vo" empty="$empty"}
                <tr class="text-c">
                    <td>{$vo.name}</td>
                    <td>{$vo.cont_phone}</td>
                    <td>{$vo.aid}</td>
                    <td>{$vo.time}</td>
                    <td>{$vo.count_with}</td>
                    <td>{$vo.count_agne}</td>
                    <td>{$vo.bala}</td>
                    <td>{$vo.allo}</td>
                    <td>{$vo.bond}</td>
                    <td>{$vo.add_bond}</td>
                    <td>{$vo.tran}</td>
                    <td>{$vo.hold}</td>
                    <td>{$vo.proif}</td>
                    <td>{$vo.settle}</td>
                    <td>{$vo.proc}</td>
                    <td>{$vo.defe}</td>
                </tr>
                {/volist}
                <tr>
                    <td colspan="4">用户数:{$number.number11}</td>
                    <td>{$number.number}</td>
                    <td>{$number.number1}</td>
                    <td>{$number.number2}</td>
                    <td>{$number.number3}</td>
                    <td>{$number.number4}</td>
                    <td>{$number.number5}</td>
                    <td>{$number.number6}</td>
                    <td>{$number.number7}</td>
                    <td>{$number.number8}</td>
                    <td>{$number.number9}</td>
                    <td>{$number.number10}</td>
                    <td>{$number.number12}</td>
                </tr>
                </tbody>
            </table>
            <div class="am-pagination-left">{$page}</div>
        </div>
    </div>
</div>
</div>
{include file="public/foot" /}
<script type="text/javascript">
    function del(id) {
        if (confirm("确定要删除吗？")) {
            $.ajax({
                url: "{:url('Point/del')}",
                data: {id: id},
                type: "post",
                success: function (r) {
                    if (r['code'] == 1) {
                        alert_open(r['msg'])
                    } else {
                        alert_msg(r['msg']);
                    }
                }
            });
            return true;
        } else {
            return false;
        }
    }
    $(function () {
        var nav = $('.left-sidebar li.sidebar-nav-link');
        nav.removeClass("active");
        nav.eq({$a}).find('ul').show();
        nav.eq({$a}).find('ul li').eq({$b}).find('a').addClass('active');

    });


</script>

</body>

</html>
